package com.cskt.itripauth;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

//分布式：导入分布式的依赖，编写springCloud的配置，启动程序加上分布式的依赖
@EnableDiscoveryClient
@SpringBootApplication
@ComponentScan(basePackages = {"com.cskt.*"})
public class ItripAuthApplication {

    public static void main(String[] args) {
        SpringApplication.run(ItripAuthApplication.class, args);
    }

}
